<!doctype html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>电影前台管理系统</title>
    <!-- Bootstrap -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
    <!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>


    <![endif]-->
    <script th:src="@{../js/myScript.js}"></script>
    <link th:href="@{/bootstrap/css/bootstrap-theme.min.css}" type="text/css" rel="stylesheet" />
    <link th:href="@{/css/foreground.css}" type="text/css" rel="stylesheet" />
</head>
<body>

<div class="box1">
    <div class="box2">萝卜炖白兔</div>
    <div class="box3">
        <ul class="nav-l">
            <li><a th:href="@{/}">首页</a></li>
            <li><a href="">电影</a></li>
            <li><a href="">番剧</a></li>
            <li><a href="">网站动态</a></li>
            <li><a href="">关于本站</a></li>
        </ul>
    </div>
</div>
</div>

<div class="box">
    <div class="route">
        <div class="route-l">
            <a href="">萝卜炖白兔</a>
            <span>></span>
            <a href="">电影</a>
            <span>></span>
            <a href="" th:text="${movie.name}"></a>
        </div>
        <div class="route-r">分享(待添加)</div>
    </div>

    <div class="con1">
        <span>详细</span>
        <span>分集剧情</span>
        <span>播出时间</span>
    </div>

    <div class="con2">
        <img th:src="@{'/img/foreground/' + ${movie.img} }" alt="" class="con2-1" />
        <div class="con2-r">
            <div class="con2-2" th:text="${movie.name}"></div>
            <div class="con2-3" th:text="'提醒：'+${movieDetail.remind}"></div>
            <div class="con2-3" th:text="'类型：'+${movieDetail.types}"> </div>
            <div class="con2-3" th:text="'主演：'+${movieDetail.star}"></div>
            <div class="con2-3" th:text="'地区：'+${movieDetail.area}"></div>
            <div class="con2-4" th:text="'简介：'+${movie.content}"></div>
            <div class="con2-5">
                <span class="cpoint">给影片评分：</span>
                <span class="cpoint1"></span>
                <span class="cpoint2">较差</span>
            </div>
        </div>
    </div>

    <div class="con3">
        <div class="con3-l">播放地址：</div>
        <div class="con3-r"><a href="">不能播放,报错？</a></div>
    </div>

    <div class="con4">
        <div><a href="">立即播放</a></div>
    </div>

    <div class="con5" th:text="${movie.content}"></div>

    <div class="con6">
        <span>猜你喜欢</span>
        <span>主演作品</span>
        <span>导演作品</span>
    </div>

    <div class="con7" >
       <div th:each="Amovie :${movie1}">
           <a href=""> <img th:src="@{'/img/foreground/' + ${Amovie.img} }" /></a>
           <span></span>
       </div>
    </div>

    <div class="con8">
        <span th:text="${movie.name}"></span>
        <span>共 0 条评论</span>
    </div>

   <form th:action="@{ '/fgdetail/' + ${movie.movieId} } " method="post" id="commentform">
       <div class="con9">
           <input type="text" placeholder="我也要写评论..." name="fgcontent" id="fgcontent" th:text="${atler}" >
           <button type="button" onclick="judgeCommentIsNull()">提交评论</button>
       </div>
   </form>

        <div class="con10" th:each=" Acomment :${comment1} ">
            <div class="con10-1">
                <img src=""  />//img
            </div>
            <div class="con10-2">
                <div class="con10-2-1" th:text="${Acomment.username}"></div>
                <div class="con10-2-2" th:text="${Acomment.content}"></div>
                <div class="con10-2-3" >
                    <img src="" />//img
                    <div></div>//z-comment
                </div>
            </div>
        </div>

    <div class="con11"></div>
</div>



<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
<script src="https://cdn.jsdelivr.net/npm/jquery@1.12.4/dist/jquery.min.js" integrity="sha384-nvAa0+6Qg9clwYCGGPpDQLVpLNn0fRaROjHqs13t4Ggj3Ez50XnGQqc/r8MhnRDZ" crossorigin="anonymous"></script>
<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
</body>
</html>